home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / LEBLOND.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.7 KB  |  124 lines

  1. name Leblond/Fanuc
  2.  
  3. O >4
  4. L >4
  5. N >4
  6. G >2
  7. X ->3.>4
  8. Y ->3.>4
  9. R ->3.>4
  10. Z ->3.>4
  11. I ->3.>4
  12. J ->3.>4
  13. Q ->3.>4
  14. P ->3.>4
  15. F >3.1
  16. K ->3.>4
  17. H >2
  18. D >2
  19. T >2
  20. S >4
  21. M >2
  22.  
  23. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  24.  
  25. Sequence#s N 1 10 100                 # Char, freq, incr & start          
  26.  
  27. HCode X                               # X or X U  'Horizontal char.       
  28. VCode Y                               # Y or Y V  'Vertical char.         
  29. Dcode Z                               # Depth char.                       
  30. FeedCode F                            # Feed rate char.                   
  31. First#? N                             # Y or N  'Output 1st sequence no.  
  32.  
  33. Comment ( )                           # Begin End comment char.           
  34. Spaces? Y                             # Y or N  'Spaces between words     
  35.  
  36. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  37. Coolant 8 9 7                         # On, Off & Mist m codes            
  38. DComp 41 42 40                        # Left, Right & Cancel m codes      
  39. LComp 43 49                           # On & Off codes                    
  40.  
  41. CtrIncremental? Y                     # Y or N  'Inc or abs I & J         
  42. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  43.  
  44. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  45.  
  46. Work G                                # Work offset register              
  47.  
  48. CtrCode I J                           # I J or R or I J K L               
  49. Helical? Y
  50.  
  51. Feed G1                             # Linear move                       
  52. Rapid G0                            # Rapid positioning word            
  53. Cw G2                               # Circular move clockwise           
  54. Ccw G3                              # Circular move counter clockwise   
  55.  
  56. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  57.  
  58. Drill                                 # Drilling canned/manual cycle      
  59. G81 G98 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  60. end cancel
  61.  
  62. Peck                                  # Pecking canned/manual cycle       
  63. G83 G98 X[H] Y[V] Z[D] Q[VBite] R[Vclear] F[FRate]
  64. end cancel
  65.  
  66. Tap                                   # Tapping canned/manual cycle       
  67. G84 G98 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  68. end cancel
  69.  
  70. LTap                                  # Left handed tapping cycle         
  71. G74 G98 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  72. end cancel
  73.  
  74. Ream                                  # Reaming canned/manual cycle       
  75. G85 G98 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  76. end cancel
  77.  
  78. Bore                                  # Boring canned/manual cycle        
  79. G86 G98 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  80. end cancel
  81.  
  82. Back                                  # Back boring canned/manual cycle   
  83. G87 G98 X[H] Y[V] Z[D] R[Vclear] F[FRate]
  84. end cancel
  85.  
  86. Cancel                                # Cancel a canned/manual cycle      
  87. G80
  88. end
  89.  
  90. StartCode                             # Start of the program              
  91. O[Program#]
  92. G100
  93. End
  94.  
  95. 1stToolChange                         # First tool change                 
  96. T[Tool] M6
  97. G0 G90 G54 X[H] Y[V] M[Direct] S[Speed] T[NextTool]
  98. G43 Z[D] H[Lcomp] M[Cool]
  99. End
  100.  
  101. Infeed                                # Enable cutter comp                
  102. G1 Z[D] F[Plunge]
  103. G[Side] X[H] Y[V] D[DComp] F[FRate]
  104. end
  105.  
  106. Outfeed                               # Disable cutter comp               
  107. G1 G40 X[H] Y[V]
  108. Z[D]
  109. end
  110.  
  111. ToolChange                            # Secondary tool changes            
  112. T[Tool] M6
  113. G0 G90 G54 X[H] Y[V] M[Direct] S[Speed] T[NextTool]
  114. G43 Z[D] H[Lcomp] M[Cool]
  115. End
  116.  
  117. EndCode                               # End of the program                
  118. T99 M6
  119. M9
  120. M30
  121. End
  122.  
  123.  
  124.